package cn.gorit.entity.system;

/**
 * @version v1.0
 * @Classname MsgBoard
 * @Description 留言板
 * @Author CodingGorit
 * @Created on 2021/4/10 17:54
 * @IDLE IntelliJ IDEA
 **/
public class MsgBoard {

    // 留言板唯一 ID
    private Integer id;

    // 留言标题
    private String title;

    // 留言信息
    private String content;

    // 留言人名称
    private String name;

    // 留言人联系方式
    private String contact;

    // 管理员回复消息
    private String replyMsg;

    // 审核按钮（0 未通过 ，1 通过展示， 2 已回复， - 1 删除，不展示）
    private Integer status;

    // 留言日期
    private String createTime;

    private String updateTime;

    public MsgBoard() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getReplyMsg() {
        return replyMsg;
    }

    public void setReplyMsg(String replyMsg) {
        this.replyMsg = replyMsg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "MsgBoard{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", name='" + name + '\'' +
                ", contact='" + contact + '\'' +
                ", replyMsg='" + replyMsg + '\'' +
                ", status=" + status +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }

}
